	package com.lanou.dormitory.service;


import java.util.List;

import com.lanou.dormitory.entity.Company;
import org.apache.ibatis.annotations.Param;

import com.lanou.dormitory.entity.Company;
public interface CompanyService {
	public List<Company> getAll();
	
	public Company getCompayByName(String cname);
	
	public void add(String cname,String cnote);
	
    public Company getById(Integer cid);
	
	public void update(Company com);
	
	public void delById(Integer cid);
}
